1bashThis demonstrates using wget to download a file from a URL and save it locally.wget --output-document foo.txt https://example.com/file.txtexternal toolswgetfile download (HTTP request)
2bashThis demonstrates downloading a file from a URL using the wget command.wget https://example.com/file.txt .external toolswgetfile download